package com.hksj.am.query;

import com.hksj.common.core.model.BasePageQuery;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = true)
public class AmmoniaDeviceHistoryQuery extends BasePageQuery {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("产品id ")
    @NotNull(message = "产品id不能为空")
    private String productId;

    @ApiModelProperty("设备id ")
    private String deviceId;

    @ApiModelProperty("查询属性")
    private String property;

    @ApiModelProperty("查询开始时间")
    private Date startTime;

    @ApiModelProperty("查询结束时间")
    private Date endTime;

}
